import dayjs from 'dayjs'

export const formatTime = (row:any, column:any, cellValue:any, index:any)=>{
    let time = row.createTime;
    if(time){
        return dayjs(time).format('YYYY-MM-DD HH:mm:ss')
    }else{
        return null;
    }
}